<div class="m-tab s-tab">
	<h2 class="u-tt">字段集管理</h2>
	<div class="filter">
		<form method="get" action="{$url|'AdminFieldset/index'}">
			<input name="r" type="hidden" value="duxcms/AdminFieldset/index" />
			字段集名：
			<input name="keyword" id="keyword" type="text" value="{$_GET.keyword}" class="u-ipt u-ipt-2"/>
			<button class="u-btn" type="submit">筛选</button>
		</form>
	</div>
	<ul>
		<li class="z-crt"><a href="{$url|'AdminFieldset/index'}">字段集列表</a></li>
		<li><a href="{$url|'AdminFieldset/add'}">添加字段集</a></li>
	</ul>
</div>
<table class="m-table m-table-row" id="table">
	<thead class="m-table-thead s-table-thead">
		<tr>
			<th class="cola">ID</th>
			<th>名称</th>
			<th>字段表</th>
			<th class="colc">操作</th>
		</tr>
	</thead>
	<tbody>
		<!--{loop="$list $key $vo"}-->
		<tr>
			<td>{$vo.fieldset_id}</td>
			<td>{$vo.name}</td>
			<td>{$vo.table}</td>
			<td><a href="<?php echo url('AdminField/index',array('fieldset_id'=>$vo['fieldset_id'])); ?>">管理字段</a> / <a href="<?php echo url('AdminFieldset/edit',array('fieldset_id'=>$vo['fieldset_id'])); ?>">编辑</a> / <a href="javascript:;" data="{$vo.fieldset_id}" class="u-del">删除</a></td>
		</tr>
		<!--{/loop}-->
	</tbody>
</table>
<div class="m-table-tool">
	<div class="m-page"> {$page} </div>
</div>
<script>
Do.ready('base','dialog',function() {
	$('#table').duxTable({selectAll:'#selectAll',deleteUrl:'{$url|"AdminFieldset/del"}'});
});
</script>